package com.dingpeikeji.quickdeer.modules.office.entity;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.Office;

/**
 * 分组公司Entity
 * @author dingpei
 * @version 2016-12-08
 */
public class TCompAgreerateGroup extends DataEntity<TCompAgreerateGroup> {
	
	private static final long serialVersionUID = 1L;
	private Integer compid;		// 主键
	private Integer agreerateid;		// agreerateid
	private Office office;		// 公司
	
	public TCompAgreerateGroup() {
		super();
	}

	public TCompAgreerateGroup(String id){
		super(id);
	}

	public Integer getCompid() {
		return compid;
	}

	public void setCompid(Integer compid) {
		this.compid = compid;
	}
	
	public Integer getAgreerateid() {
		return agreerateid;
	}

	public void setAgreerateid(Integer agreerateid) {
		this.agreerateid = agreerateid;
	}

	public Office getOffice() {
		return office;
	}

	public void setOffice(Office office) {
		this.office = office;
	}
	

	
}